getOrNull

open override fun getOrNull(): T?

Gets the value of a Some or null if this is a None.

Return

Value of a Some or null.